console.log($('.iz_footer .che'));
$('.iz_footer .che').click(function() {
    console.log('dsdas');
    $(this).toggleClass('active')
})
var txt1 = document.getElementsByClassName('txt1')[0];
var box1 = document.getElementsByClassName('iz-box1')[0];
var txt2 = document.getElementsByClassName('txt2')[0];
var box2 = document.getElementsByClassName('iz-box2')[0];
var txt3 = document.getElementsByClassName('txt3')[0];
var box3 = document.getElementsByClassName('iz-box3')[0];
var txt4 = document.getElementsByClassName('txt4')[0];
var box4 = document.getElementsByClassName('iz-box4')[0];
var txt5 = document.getElementsByClassName('txt5')[0];
var box5 = document.getElementsByClassName('iz-box5')[0];
var reg = /^[0-9_]{11,11}$/;
var reg2 = /^[0-9_]{4,4}$/;
var reg3 = /^[a-zA-Z0-9_-]{6,16}$/;
console.log(box1);
txt1.onblur = function(){
    if(reg.test(txt1.value)){
        console.log(txt1.value);
        box1.innerText = '手机号输入正确';
    }else{
        box1.innerText = '请输入正确的手机号';
        box1.style.color = 'bule';
    }
}
txt2.onblur = function(){
    if(reg2.test(txt2.value)){
        box2.innerText = '验证码输入正确';
    }else{
        box2.innerText = '请输入正确的手验证码';
        box2.style.color = 'bule';
    }
}
txt3.onblur = function(){
    if(reg2.test(txt3.value)){
        box2.innerText = '手机号验证码输入正确';
    }else{
        box3.innerText = '请输入正确的手机验证码';
        box3.style.color = 'bule';
    }
}
txt4.onblur = function(){
    if(reg3.test(txt4.value)){
        box2.innerText = '密码输入正确';
    }else{
        box4.innerText = '请输入密码';
        box4.style.color = 'bule';
    }
}
txt5.onblur = function(){
    if(reg3.test(txt5.value)){
        box5.innerText = '确认输入密码正确';
    }else{
        box5.innerText = '请输入正确的密码';
        box5.style.color = 'bule';
    }
}